import Vue from 'vue'
import {
    Pagination,
    Button,
    ButtonGroup,
    Dialog,
    Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Input,
    InputNumber,
    Radio,
    RadioGroup,
    Checkbox,
    CheckboxGroup,
    Select,
    Option,
    Table,
    TableColumn,
    DatePicker,
    TimeSelect,
    TimePicker,
    Form,
    FormItem,
    Icon,
    Row,
    Col,
    Upload,
    Card,
    Main,
    Footer,
    ColorPicker,
    Cascader,
    Loading,
    MessageBox,
    Message,
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Aside,
    Timeline,
    TimelineItem,
    Container,
    Header,
} from '@ued_fpi/element-ui'

Vue.component(Pagination.name, Pagination)
Vue.component(Button.name, Button)
Vue.component(ButtonGroup.name, ButtonGroup)
Vue.component(Dialog.name, Dialog)
Vue.component(Menu.name, Menu)
Vue.component(Submenu.name, Submenu)
Vue.component(MenuItem.name, MenuItem)
Vue.component(MenuItemGroup.name, MenuItemGroup)
Vue.component(Input.name, Input)
Vue.component(InputNumber.name, InputNumber)
Vue.component(Radio.name, Radio)
Vue.component(RadioGroup.name, RadioGroup)
Vue.component(Checkbox.name, Checkbox)
Vue.component(CheckboxGroup.name, CheckboxGroup)
Vue.component(Select.name, Select)
Vue.component(Option.name, Option)
Vue.component(Table.name, Table)
Vue.component(TableColumn.name, TableColumn)
Vue.component(DatePicker.name, DatePicker)
Vue.component(TimeSelect.name, TimeSelect)
Vue.component(TimePicker.name, TimePicker)
Vue.component(Form.name, Form)
Vue.component(FormItem.name, FormItem)
Vue.component(Icon.name, Icon)
Vue.component(Row.name, Row)
Vue.component(Col.name, Col)
Vue.component(Upload.name, Upload)
Vue.component(Card.name, Card)
Vue.component(Main.name, Main)
Vue.component(Footer.name, Footer)
Vue.component(ColorPicker.name, ColorPicker)
Vue.component(Cascader.name, Cascader)
Vue.component(Dropdown.name, Dropdown)
Vue.component(DropdownMenu.name, DropdownMenu)
Vue.component(DropdownItem.name, DropdownItem)
Vue.component(Aside.name, Aside)
Vue.component(Timeline.name, Timeline)
Vue.component(TimelineItem.name, TimelineItem)
Vue.component(Container.name, Container)
Vue.component(Header.name, Header)
// Vue.component(tree)

Vue.prototype.$loading = Loading.service
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$prompt = MessageBox.prompt
Vue.prototype.$message = Message
